Cosmetics: Eradicate gint
authorMatthias Clasen <mclasen@redhat.com>
Thu, 3 Jun 2021 21:40:49 +0000 (17:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 3 Jun 2021 21:41:28 +0000 (17:41 -0400)
Remove a handful of errant uses of gint.

gsk/gl/gskglrenderopsprivate.h
testsuite/gtk/accessor-apis.c
testsuite/gtk/label.c

index b23060014bf2453c6ab9437eae2aa21d1e1b9933..551a1afc05d64bd3376cda7677f64d53472cf2a7 100644 (file)
@@ -82,7 +82,7 @@ typedef struct
     struct {
       float width;
       float height;
-      gint uniform_data_len;
+      int uniform_data_len;
       guchar uniform_data[32];
     } gl_shader;
   };
index 7d10391b413afb4e760258b222e62e0b34153292..aae3c17821be8eafa6e481998276d89766aa3877 100644 (file)
@@ -93,7 +93,7 @@ type_name_mangle (const char *name,
                   gboolean    split_first_cap)
 {
   GString *symbol_name = g_string_new ("");
-  gint i;
+  int i;
 
   for (i = 0; name[i] != '\0'; i++)
     {
@@ -300,7 +300,7 @@ main (int argc, char **argv)
 {
   const GType *all_types;
   guint n_types = 0, i;
-  gint result;
+  int result;
 
   /* These must be set before before gtk_test_init */
   g_setenv ("GIO_USE_VFS", "local", TRUE);
index 11f1eebf23760eac1a8c320b8fa65470d8d213f2..c075e151394678e7c4fbafab3775791252494a28 100644 (file)
@@ -89,7 +89,7 @@ print_attr_list (PangoAttrList *attrs, GString *string)
 
   iter = pango_attr_list_get_iterator (attrs);
   do {
-    gint start, end;
+    int start, end;
     GSList *list, *l;
 
     pango_attr_iterator_range (iter, &start, &end);